
class Factory:
    """
    Factory for instanciating the concrete repeater
    """
    def getRepeater(self, id):
        if id == "TXU1256":
            import TXU1256
            return TXU1256.TXU1256()
        return None
    

class AbstractRepeater:
    """
    Baseclass for all repeater
    """
    def startTransmit(self):
        "start transmission"
        raise("Not implemented!")
    def stopTransmit(self):
        "stop transmit"
        raise("Not implemented!")
    def getSignalToNoiseRatio(self):
        "get signal to noise ratio"
        raise("Not implemented!")
    


   
   



        
        
        
        
        
        